﻿#ifndef OPERATION_H
#define OPERATION_H


class Operation
{
public:
    virtual double GetResult();
    double numberA() const;
    void setNumberA(double newNumberA);
    double numberB() const;
    void setNumberB(double newNumberB);
    virtual ~Operation() {}

private:
    double m_numberA = 0;
    double m_numberB = 0;
};

#endif // OPERATION_H
